import request from '@/utils/request'

export function importCgzz(data) {
  return request({
    url: '/system/importcg/importCgzz',
    method: 'post',
    data: data
  })
}

export function importCgzm(data) {
  return request({
    url: '/system/importcg/importCgzm',
    method: 'post',
    data: data
  })
}

export function importWlda(data) {
  return request({
    url: '/system/importcg/importWlda',
    method: 'post',
    data: data
  })
}

export function importQckc(data) {
  return request({
    url: '/system/importcg/importQckc',
    method: 'post',
    data: data
  })
}

export function importYmd(data) {
  return request({
    url: '/system/importcg/importYmd',
    method: 'post',
    data: data
  })
}

export function getInitParams() {
  return request({
    url: '/system/importcg/getInitParams',
    method: 'post'
  })
}

export function getQueryParams() {
  return request({
    url: '/system/importcg/getQueryParams',
    method: 'post'
  })
}

export function listLinked(query) {
  return request({
    url: '/system/importcg/listLinked',
    method: 'get',
    params: query
  })
}

export function listCgMainDetails(query) {
  return request({
    url: '/system/importcg/listCgMainDetails',
    method: 'get',
    params: query
  })
}

export function listYjgCg(query) {
  return request({
    url: '/system/importcg/listYjgCg',
    method: 'get',
    params: query
  })
}

export function listSpecs(query) {
  return request({
    url: '/system/importcg/listSpecs',
    method: 'get',
    params: query
  })
}

export function listCustomers(query) {
  return request({
    url: '/system/importcg/listCustomers',
    method: 'get',
    params: query
  })
}

export function listUnLinked(query) {
  return request({
    url: '/system/importcg/listUnLinked',
    method: 'get',
    params: query
  })
}

export function getInventoryList(query) {
  return request({
    url: '/system/importcg/getInventoryList',
    method: 'get',
    params: query
  })
}

export function getBrandsList() {
  return request({
    url: '/system/importcg/getBrandsList',
    method: 'get'
  })
}

export function getBrandsListAccept() {
  return request({
    url: '/system/importcg/getBrandsListAccept',
    method: 'get'
  })
}

export function listCgAll(query) {
  return request({
    url: '/system/importcg/listCgAll',
    method: 'get',
    params: query
  })
}

export function listAcceptList(query) {
  return request({
    url: '/system/importcg/listAcceptList',
    method: 'get',
    params: query
  })
}

export function getInitParams30() {
  return request({
    url: '/system/importcg/getInitParams30',
    method: 'post'
  })
}

export function getZqDetailList(query) {
  return request({
    url: '/system/importcg/getZqDetailList',
    method: 'get',
    params: query
  })
}

export function listCgzqImport() {
  return request({
    url: '/system/importcg/listCgzqImport',
    method: 'get'
  })
}

export function listUnsupply() {
  return request({
    url: '/system/importcg/listUnsupply',
    method: 'get'
  })
}

export function listResampling(query) {
  return request({
    url: '/system/importcg/listResampling',
    method: 'get',
    params: query
  })
}

export function listInventoryDetail(query) {
  return request({
    url: '/system/importcg/listInventoryDetail',
    method: 'get',
    params: query
  })
}

export function listUnfulfilled(query) {
  return request({
    url: '/system/importcg/listUnfulfilled',
    method: 'get',
    params: query
  })
}

export function listInventory() {
  return request({
    url: '/system/importcg/listInventory',
    method: 'get'
  })
}

export function listYjgBcSummary(query) {
  return request({
    url: '/system/importcg/listYjgBcSummary',
    method: 'get',
    params: query
  })
}
